/**
 * 查看所有玩家
 */

import { Command } from "../class/Command";

export class LookAllPlayer extends Command {
    static commandName = "查看所有玩家"
    static test(commandName: string) {
        return [this.commandName, '所有玩家', '查看玩家'].indexOf(commandName) > -1;
    }
    invoke(): void {
        const userInfo = this.game.getRolesInfo()

        this.masterRole.message.add(`所有玩家:${userInfo}`);
    }

}